home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / harvest.cpt / Harvest C / Tcl 6.2 / errMac.h < prev    next >
Encoding:
Text File  |  1992-01-25  |  14.1 KB  |  302 lines

  1.  
  2.  
  3. struct {
  4.     int        errNum;
  5.     char    *errCode;
  6.     } ErrorCodeTab [] = {
  7.     
  8.              -50,        "error in user parameter list",
  9.             -200,        "Sound Manager Error Returns",
  10.             -201,        "Sound Manager Error Returns",
  11.               -2,        "invalid queue element",
  12.               -3,        "core routine number out of range",
  13.               -4,        "unimplemented core routine",
  14.               -5,        "invalid queue element",
  15.               -8,        "no debugger installed to handle debugger command",
  16.              -17,        "I/O System Errors",
  17.              -18,        "I/O System Errors",
  18.              -19,        "I/O System Errors",
  19.              -20,        "I/O System Errors",
  20.              -21,        "I/O System Errors",
  21.              -22,        "I/O System Errors",
  22.              -23,        "I/O System Errors",
  23.              -24,        "I/O System Errors",
  24.              -25,        "tried to remove an open driver",
  25.              -27,        "IO call aborted by KillIO",
  26.              -27,        "IO abort error (Printing Manager)",
  27.              -28,        "Couldn't rd/wr/ctl/sts cause driver not opened",
  28.              -29,        "unit table has no more entries",
  29.              -30,        "dce extension error",
  30.             -360,        "invalid slot # error",
  31.             -400,        "gcr format on high density media error",
  32.              -33,        "Directory full",
  33.              -34,        "disk full",
  34.              -35,        "no such volume",
  35.              -36,        "I/O error (bummers)",
  36.              -37,        "there may be no bad names in the final system!",
  37.              -38,        "File not open",
  38.              -39,        "End of file",
  39.              -40,        "tried to position to before start of file (r/w)",
  40.              -41,        "memory full (open) or file won't fit (load)",
  41.              -42,        "too many files open",
  42.              -43,        "File not found",
  43.              -44,        "diskette is write protected.",
  44.              -46,        "volume is locked",
  45.              -47,        "File is busy (delete)",
  46.              -48,        "duplicate filename (rename)",
  47.              -49,        "file already open with with write permission",
  48.              -51,        "refnum error",
  49.              -52,        "get file position error",
  50.              -53,        "volume not on line error (was Ejected)",
  51.              -54,        "permissions error (on file open)",
  52.              -55,        "drive volume already on-line at MountVol",
  53.              -56,        "no such drive (tried to mount a bad drive num)",
  54.              -57,        "not a mac diskette (sig bytes are wrong)",
  55.              -58,        "volume in question belongs to an external fs",
  56.              -59,        "file system internal error:during rename the old entry was deleted but could not be restored.",
  57.              -60,        "bad master directory block",
  58.              -61,        "write permissions error",
  59.             -120,        "Directory not found",
  60.             -121,        "No free WDCB available",
  61.             -122,        "Move into offspring error",
  62.             -123,        "Wrong volume type error [operation not supported for MFS]",
  63.            -1300,        "no file thread exists.",
  64.            -1301,        "file id already exists",
  65.            -1302,        "directory specified",
  66.            -1303,        "files on different volumes",
  67.            -1304,        "the catalog has been modified",
  68.            -1305,        "desktop database files are corrupted",
  69.            -1306,        "can't exchange a file with itself",
  70.            -1307,        "file id is dangling or doesn't match with the file number",
  71.            -5500,        "returned by glue.",
  72.            -5501,        "Version non-positive",
  73.            -5502,        "Version bigger than call can handle",
  74.              -64,        "error during font declaration",
  75.              -65,        "font not declared",
  76.              -66,        "font substitution occured",
  77.           -32615,        "bitmap font passed to routine that does outlines only",
  78.              -84,        "I/O System Errors",
  79.              -64,        "I/O System Errors",
  80.              -64,        "drive not installed",
  81.              -65,        "r/w requested for an off-line drive",
  82.              -67,        "couldn't find valid addr mark",
  83.              -68,        "read verify compare failed",
  84.              -69,        "addr mark checksum didn't check",
  85.              -70,        "bad addr mark bit slip nibbles",
  86.              -71,        "couldn't find a data mark header",
  87.              -72,        "bad data mark checksum",
  88.              -73,        "bad data mark bit slip nibbles",
  89.              -74,        "write underrun occurred",
  90.              -75,        "step handshake failed",
  91.              -76,        "track 0 detect doesn't change",
  92.              -77,        "unable to initialize IWM",
  93.              -78,        "tried to read 2nd side on a 1-sided drive",
  94.              -79,        "unable to correctly adjust disk speed",
  95.              -80,        "track number wrong on address mark",
  96.              -81,        "sector number never found on a track",
  97.              -82,        "can't find sector 0 after track format",
  98.              -83,        "can't get enough sync",
  99.              -84,        "track failed to verify",
  100.              -85,        "unable to read same clock value twice",
  101.              -87,        "parameter ram written didn't read-verify",
  102.              -88,        "InitUtil found the parameter ram uninitialized",
  103.              -89,        "SCC receiver error (framing; parity; OR)",
  104.              -90,        "Break received (SCC)",
  105.           -13000,        "Power Mgr never ready to start handshake",
  106.           -13001,        "Timed out waiting for reply",
  107.           -13002,        "during send, pmgr did not start hs",
  108.           -13003,        "during send, pmgr did not finish hs",
  109.           -13004,        "during receive, pmgr did not start hs",
  110.           -13005,        "during receive, pmgr did not finish hs configured for this connection",
  111.             -100,        "No scrap exists error",
  112.             -102,        "No object of that type in scrap",
  113.              -99,        "soft error in ROZ",
  114.              -99,        "hard error in ROZ",
  115.              -99,        "hard error in ROZ",
  116.             -108,        "Not enough room in heap zone",
  117.             -109,        "Master Pointer was NIL in HandleZone or other",
  118.             -111,        "WhichZone failed (applied to free block)",
  119.             -112,        "trying to purge a locked or non-purgeable block",
  120.             -113,        "Address in zone check failed",
  121.             -114,        "Pointer Check failed",
  122.             -115,        "Block Check failed",
  123.             -116,        "Size Check failed",
  124.             -117,        "trying to move a locked block (MoveHHi)",
  125.             -192,        "Resource not found",
  126.             -193,        "Resource file not found",
  127.             -194,        "AddResource failed",
  128.             -195,        "AddReference failed",
  129.             -196,        "RmveResource failed",
  130.             -197,        "RmveReference failed",
  131.             -198,        "attribute inconsistent with operation",
  132.             -199,        "map inconsistent with operation",
  133.             -186,        "resource bent (the bends) - can't decompress a compressed resource",
  134.             -185,        "extended resource has a bad format.",
  135.             -150,        "Color2Index failed to find an index",
  136.             -151,        "failed to allocate memory for temporary structures",
  137.             -152,        "failed to allocate memory for structure",
  138.             -153,        "range error on colorTable request",
  139.             -154,        "colorTable entry protection violation",
  140.             -155,        "invalid type of graphics device",
  141.             -156,        "invalid resolution for MakeITable",
  142.             -125,        "insufficient memory to update a pixmap",
  143.           -11000,        "wrong version of the PictInfo structure",
  144.           -11001,        "the internal consistancy check for the PictInfoID is wrong",
  145.           -11002,        "the passed verb was invalid",
  146.           -11003,        "unable to load the custom pick proc",
  147.           -11004,        "the number of colors requested was illegal",
  148.           -11005,        "the picture data was invalid",
  149.             -203,        "Sound Manager Error Returns",
  150.             -204,        "Sound Manager Error Returns",
  151.             -206,        "Sound Manager Error Returns",
  152.             -207,        "could not allocate enough memory ",
  153.             -208,        "was not type AIFF or was of bad format,corrupt",
  154.             -209,        "the Channel is being used for a PFD already ",
  155.             -210,        "can not operate in the memory allowed",
  156.             -212,        "not enough CPU cycles left to add another task",
  157.             -220,        "no Sound Input hardware",
  158.             -221,        "invalid index passed to SoundInGetIndexedDevice",
  159.             -222,        "returned by synchronous SPBRecord if nil buffer passed",
  160.             -223,        "invalid compression type",
  161.             -224,        "hard drive too slow to record to disk",
  162.             -225,        "invalid sample rate",
  163.             -226,        "invalid sample size",
  164.             -227,        "input device already in use",
  165.             -228,        "input device could not be opened",
  166.             -229,        "invalid input device reference number",
  167.             -230,        "input device hardware failure",
  168.             -231,        "invalid info type selector (returned by driver)",
  169.             -299,        "wrong queue type",
  170.             -290,        "Error; SDM could not be initialized.",
  171.             -291,        "Error; Slot Resource Table could not be initialized.",
  172.             -292,        "Error; Slot Resource Table could not be initialized.",
  173.             -293,        "Error; Cards could not be initialized.",
  174.             -300,        "No card in slot",
  175.             -301,        "CRC check failed for declaration data",
  176.             -302,        "FHeader Format is not Apple's",
  177.             -303,        "Wrong revison level",
  178.             -304,        "Directory offset is Nil ",
  179.             -305,        "This slot is disabled (-305 use to be smLWTstBad)",
  180.             -307,        "Fatal reserved error. Resreved field <> 0.",
  181.             -308,        "Unexpected BusError",
  182.             -309,        "ByteLanes field was bad.",
  183.             -310,        "Error occured during _sGetFHeader.",
  184.             -311,        "Error occured during _sDisposePtr (Dispose of FHeader block).",
  185.             -312,        "_DisposePointer error",
  186.             -313,        "No Board sResource.",
  187.             -314,        "Error occured during _sGetPRAMRec (See SIMStatus).",
  188.             -315,        "No Board Id.",
  189.             -316,        "The InitStatusV field was negative after primary or secondary init.",
  190.             -317,        "An error occured while trying to initialize the Slot Resource Table.",
  191.             -318,        "SDM jump table could not be created.",
  192.             -319,        "BoardId was wrong; re-init the PRAM record.",
  193.             -320,        "BusError time out.",
  194.           -32768,        "Temporarily disable card but run primary init.",
  195.           -32640,        "Reserve range -32640 to -32768 for Apple temp disables.",
  196.             -330,        "Reference Id not found in List",
  197.             -331,        "Bad sList: Id1 < Id2 < Id3 ...format is not followed.",
  198.             -332,        "Reserved field not zero",
  199.             -334,        "Code revision is wrong",
  200.             -335,        "LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.",
  201.             -336,        "Nil sBlock error (Dont allocate and try to use a nil sBlock)",
  202.             -337,        "Slot out of bounds error",
  203.             -338,        "Selector out of bounds error",
  204.             -339,        "_NewPtr error",
  205.             -340,        "_BlockMove error",
  206.             -341,        "Status of slot = fail.",
  207.             -342,        "Error occured during _sGetDrvrName.",
  208.             -343,        "Error occured during _sDisDrvrName.",
  209.             -344,        "No more sResources",
  210.             -345,        "Error occurred during _sGetDriver.",
  211.             -346,        "Bad pointer was passed to sCalcsPointer",
  212.             -347,        "NumByteLanes was determined to be zero.",
  213.             -348,        "Offset was too big (temporary error",
  214.             -349,        "No opens were successfull in the loop.",
  215.             -350,        "SRT over flow.",
  216.             -351,        "Record not found in the SRT.",
  217.             -450,        "edition manager not inited by this app",
  218.             -452,        "not a registered SectionRecord",
  219.             -453,        "edition file is corrupt",
  220.             -454,        "can not use sub parts in this release",
  221.             -460,        "A Publisher is already registered for that container",
  222.             -461,        "could not find editionContainer at this time",
  223.             -462,        "container already opened by this section",
  224.             -463,        "not the first registered publisher for that container",
  225.             -501,        "scrap item too big for text edit record",
  226.             -502,        "bad selector for _HWPriv",
  227.             -600,        "no eligible process with specified descriptor ",
  228.             -601,        "not enough room to launch app w/special requirements ",
  229.             -602,        "memory mode is 32-bit, but app not 32-bit clean ",
  230.             -603,        "app made module calls in improper order ",
  231.             -604,        "hardware configuration not correct for call ",
  232.             -605,        "application SIZE not big enough for launch ",
  233.             -606,        "app is BG-only, and launch flags disallow this ",
  234.             -620,        "insufficient physical memory",
  235.             -621,        "specified range of memory is not held",
  236.             -622,        "cannot make specified range contiguous",
  237.             -624,        "don╒t call with interrupts masked",
  238.             -625,        "unable to defer additional functions",
  239.              -91,        "error in soket number",
  240.              -92,        "data length too big",
  241.              -93,        "no network bridge for non-local send",
  242.              -94,        "error in attaching/detaching protocol",
  243.              -95,        "excessive collisions on write",
  244.              -97,        "driver Open error code (port is in use)",
  245.              -98,        "driver Open error code (parameter RAM not configured for this connection)",
  246.            -1024,        "Buffer overflow in LookupName",
  247.            -1026,        "Name confirmed at different socket",
  248.            -1027,        "Duplicate name exists already",
  249.            -1028,        "Name not found on remove",
  250.            -1029,        "Error trying to open the NIS",
  251.            -1066,        "Server cannot support this ASP version",
  252.            -1067,        "Buffer too small",
  253.            -1068,        "No more sessions on server",
  254.            -1069,        "No servers at that address",
  255.            -1071,        "Server cannot open another session",
  256.            -1072,        "Session closed",
  257.            -1073,        "Command block too big",
  258.            -1074,        "Too many clients (server error)",
  259.            -1075,        "No ack on attention request (server err)",
  260.            -5031,        "Volume is Read-Only",
  261.            -5032,        "Object is M/R/D/W inhibited",
  262.             -900,        "PPCToolBox not initialized ",
  263.             -902,        "Invalid or inappropriate locationKindSelector in locationName ",
  264.             -904,        "The system is hosed, better re-boot ",
  265.             -905,        "Network activity is currently disabled ",
  266.             -906,        "Port does not exist at destination ",
  267.             -907,        "Out of session tables, try again later ",
  268.             -908,        "Invalid session reference number ",
  269.             -909,        "bad parameter or invalid state for operation ",
  270.             -910,        "port is already open (perhaps in another app) ",
  271.             -911,        "user name unknown on destination machine ",
  272.             -912,        "Destination rejected the session request ",
  273.             -913,        "user hasn't named his Macintosh in the Network Setup Control Panel ",
  274.             -914,        "A system resource is missing, not too likely ",
  275.             -915,        "unable to contact destination ",
  276.             -916,        "port was closed ",
  277.             -917,        "session was closed ",
  278.             -919,        "PPCPortRec malformed ",
  279.             -922,        "user hasn't typed in owners name in Network Setup Control Pannel ",
  280.             -923,        "The default userRefNum does not yet exist ",
  281.             -924,        "unable to create a new userRefNum ",
  282.             -925,        "An error has occured in the network, not too likely ",
  283.             -927,        "unable to authenticate user at destination ",
  284.             -928,        "Invalid user reference number ",
  285.             -930,        "illegal service type, or not supported ",
  286.             -931,        "location name malformed ",
  287.             -932,        "destination port requires authentication ",
  288.              -10,        "say ╥MacsBug Installed╙",
  289.              -11,        "say ╥Disassembler Installed╙",
  290.              -13,        "say ╥Extensions Disabled╙",
  291.              -12,        "say ╥HD20 Startup╙",
  292.             -126,        "system error code for MBDF not found",
  293.             -127,        "could not find HMenu's parent in MenuKey",
  294.             -490,        "user debugger break",
  295.             -491,        "user debugger break; display string on stack",
  296.             -492,        "user debugger break; execute debugger commands on stack",
  297.  
  298.         -1,        "UNKNOWN",
  299.         };
  300.  
  301.  
  302.